package net.jkdmanager.server.webservices;

import javax.annotation.PostConstruct;
import javax.xml.ws.Endpoint;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebServicePublisherImpl {
	
	@Autowired
	private WebServiceImpl webService;
	
	@PostConstruct
	public void init() {
		
		String address = "http://localhost:8080/jkdmanager/soap";
        Endpoint.publish(address, webService);
        
	}
	
}
